Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide XRoc Sample #6

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

kevinwhzou
Copy link

Provide XRoc Sample code.
directory: src/sample/x2/xroc
document: src/sample/x2/xroc/README.md

if(${arch} STREQUAL "arm_hi3519")
list(APPEND CMAKE_C_FLAGS " -mcpu=cortex-a17.cortex-a7 -mfloat-abi=softfp -mfpu=neon-vfpv4 ")
add_definitions(-DHR_HI3519)
elseif(${arch} STREQUAL "armhf")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把这些没用的编译选项去掉,只写aarch64的参数就行,可以参考在Fasterrcnnmethod和smartplugin精简的cmake

option(PARENT_BUILD "is build from parent" OFF)
if(NOT ${PARENT_BUILD})
include(cmake/hobot_util.cmake)
endif()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要包含gradle这一套参数了, 用最简单的cmake来改造吧, 参考FasterrcnnMethod

@@ -0,0 +1,309 @@
apply plugin: 'maven'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要gradle这些东西

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants